home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Demos
/
Evatac Software
/
Preditor 3.0
/
Tools
/
MPW & ToolServer
/
Copy to ToolServer Folder
/
PreditorStartup
< prev
next >
Wrap
Text File
|
1995-08-24
|
2KB
|
54 lines
#
# PreditorStartup
# ToolServer script for Preditor 3
#
# © Copyright Evatac Software 1988-1994
# All rights reserved
#
# This script is invoked by Preditor when it establishes the ToolServer
# connection. It should reside in the same folder as ToolServer.
#
# The commands in this section MUST NOT BE ALTERED, or the link between
# Preditor and ToolServer will not function correctly.
Export PreditorNBPObj
Export PreditorNBPType
Export PreditorNBPZone
Export PreditorPPCPortName
Export PreditorPPCClientName
Export PreditorIsRemote
Export PreditorExists
unalias File
if `Exists "{MPW}"Scripts:Preditor•File` == ""
echo '### The "File" command may not work properly, because the'
echo '### "Preditor•File" script is missing from your Scripts folder.'
echo
echo '### Also make sure that you have installed the custom "Preditor•Line"'
echo '### script in your Scripts folder.'
alias File Target
else
alias File '"{MPW}"Scripts:Preditor•File'
alias Line '"{MPW}"Scripts:Preditor•Line'
end
if `Exists "{MPW}"Tools:RPreditor` == ""
echo
echo '### The "RPreditor" tool is missing from your Tools folder.'
echo '### Until you install it, the File and Line commands will'
echo '### not work.'
echo
echo '### Also make sure that you install the custom Preditor•File and Preditor•Line'
echo '### scripts in your Scripts folder'
end
For __Startup__i in `(Files "{ShellDirectory}"PreditorStartup•≈ || Set Status 0) ≥ dev:null`
Execute "{__Startup__i}"
End
Unset __Startup__i
#############################################################################